﻿@{
    Layout = "~/Views/Shared/_WxLayout.cshtml";
    ViewBag.Title = "每日一练";

    List<Exam> list = ViewBag.list;
}
<div style="padding:1em;">
    <h1>@ViewBag.Title</h1>
</div>

<div class="weui-cells__title">列表</div>
<div class="weui-cells">

    @foreach (var exam in list)
    {
        <a class="weui-cell  weui-cell_access" href="@Url.Action("ExamQuest",new { ID=exam.ID})">
            <div class="weui-cell__bd">
                <p>@exam.Name</p>
            </div>
            <div class="weui-cell__ft">点击开始</div>
        </a>
    }

</div>

<div style="height:4em;">
    <div class="weui-footer weui-footer_fixed-bottom">
        <p class="weui-footer__links">
            <a href="@Url.Action("Index")" class="weui-footer__link">PMP首页</a>
        </p>
        <p class="weui-footer__text">&copy; 2020 jh.sjtu-oec.com</p>
    </div>
</div>